Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug url comparaison : origin url and target url #286

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

bug url comparaison : origin url and target url #286

wants to merge 1 commit into from

Conversation

fauguste
Copy link

We are using question2answer with wordpress and qtranslatex 3.4.6.2.

We are using rewrite rules on question2answer :

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ index.php?qa-rewrite=$0&%{QUERY_STRING} [L]

We have an infinity of redirection on question2answer when qtranslatex is activated .

The problem is on these values :
$url_orig = https://www.exemple.com/fluks/qa/search?q=frfr
$url_lang = https://www.exemple.com/fluks/qa/search?qa-rewrite=search&q=frfr

We solved this problem with this modification

We are using question2answer with wordpress and qtranslatex  3.4.6.2.

We are using rewrite rules on question2answer  :
````
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ index.php?qa-rewrite=$0&%{QUERY_STRING} [L]
````

We have an infinity of redirection on question2answer when qtranslatex is activated .

The problem is on these values :
$url_orig = https://www.exemple.com/fluks/qa/search?q=frfr
$url_lang =  https://www.exemple.com/fluks/qa/search?qa-rewrite=search&q=frfr

We solved this problem with this modification
@fauguste
Copy link
Author

any idea ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant